
package com.epam.video.entities;

import android.net.Uri;

import java.util.List;

public class Ivc {
  private String id;

  private Uri url;

  private int duration;

  private String nextUrl;

  private List<Interaction> interaction;

  public String getId() {
    return id;
  }

  public void setId(final String id) {
    this.id = id;
  }

  public Uri getUrl() {
    return url;
  }

  public void setUrl(final Uri uri) {
    this.url = uri;
  }

  public int getDuration() {
    return duration;
  }

  public void setDuration(final int duration) {
    this.duration = duration;
  }

  public String getNextUrl() {
    return nextUrl;
  }

  public void setNextUrl(final String nextUrl) {
    this.nextUrl = nextUrl;
  }

  public List<Interaction> getInteraction() {
    return interaction;
  }

  public void setInteraction(final List<Interaction> interaction) {
    this.interaction = interaction;
  }

  public static class Interaction {
    private String timestart;

    private String timestop;

    private String text;

    public String getTimestart() {
      return timestart;
    }

    public void setTimestart(final String timestart) {
      this.timestart = timestart;
    }

    public String getTimestop() {
      return timestop;
    }

    public void setTimestop(final String timestop) {
      this.timestop = timestop;
    }

    public String getText() {
      return text;
    }

    public void setText(final String text) {
      this.text = text;
    }
  }
}
